
 var JPushUtil = {
    callJavaFunction : function(data, successCallback, failureCallback){
        return cordova.exec(successCallback, failureCallback,  'JPushUtilPlugin', 'setAlias', data);
    }
}

function callJPush(data) {
    JPushUtil.callJavaFunction(data,successCallback,failureCallback);
}
 
function successCallback(result) {
}

function failureCallback(result) {
}